//
//  QImage.h
//  ImageEffect
//
//  Created by lichq on 14-1-17.
//  Copyright (c) 2014年 lichq. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "QStruct.h"

@interface QImage : NSObject

CGContextRef CreateRGBABitmapContext (CGImageRef inImage);
unsigned char *RequestImagePixelData(UIImage *inImage);

+ (UIImage *)createNewImageByImagePixel:(unsigned char *)imagePixel width:(int)w height:(int)h;

+ (QImagePixelInfo)getImagePixelInfoFromImage:(UIImage *)image;

@end
